package com.wang.see.domain;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.wang.see.pojo.Music;


public interface MusicRepository extends JpaRepository<Music, String>{

	@Query(value="select id,title,artist,mp3,cover,create_date from music",nativeQuery=true)
	List<Music> getMusicList();

}
